<load file="__PUBLIC__/public.html"/>
<div class='now_path'>
		<strong>您现在的位置是:</strong>
		权限管理>查看节点信息
</div>
<div class="send1">
    <a href="__WEB__/admin/rbac/node_add_show" target="con" class="current button1">添加用户组</a>
</div>
<?php foreach($node as $v){ ?>
<div class='show_node'>
	<table class='table4'>
		<tr style=' text-align:center;'><th colspan='2'><span style='font-size:16px; font-weight:bolder;'>{$v['title']}<strong>({$v['name']})</strong></span><a href="__CONTROL__/node_add_show/nid/{$v['nid']}/level/{$v['level']}" style="font-size:14px;">
                <span style='color:green;border:1px solid #AACCEE;font-family:"黑体"; font-weight:bolder;'>十</span>&nbsp;添加控制器</a>&nbsp;&nbsp;
            <a href="javascript:;" style="font-size:14px;" onclick="if(confirm('确认删除吗？')){ location.href = '__CONTROL__/node_del/nid/{$v.nid}'}">
                <span style='color:red;border:1px solid #AACCEE;font-family:"黑体";font-weight:bolder;'>一</span>&nbsp;删除应用
            </a></th></tr>
		<tr><th  style='background:#ffd9f2;'>控制器</th><td style='background:#dbfdf9; font-weight:bolder;'>方法</td></tr>
		<?php if(isset($v['node']) && is_array($v['node'])){
        foreach($v['node'] as $m){ ?>
		<tr>
			<th width='200' style='background:#ffd9f2;'>
				{$m['title']}<strong>({$m['name']})</strong><br />
                <a href="__CONTROL__/node_add_show/nid/{$m['nid']}/level/{$m['level']}"> <font style='margin-left:10px;color:#00ff00;'>添加</font></a>&nbsp;&nbsp;
                <a href="javascript:;" onclick="if(confirm('确认删除吗？')){ location.href = '__CONTROL__/node_del/nid/{$m.nid}'}"><font style='color:#ff0000;'>删除</font></a>
			</th>
			<?php if(!empty($m['node'])){ ?>
			<td style='background:#dbfdf9;'>
				<ul>
	                <?php foreach($m['node'] as $j){ ?>
	                <li style=' float:left; margin-left:10px; border-bottom:1px solid #999;'>
	                    {$j['title']}<strong>({$j['name']})</strong>
	                    <a href="__CONTROL__/node_del/nid/{$j['nid']}"><font style='margin-left:5px;color:#8000ff;'>删除</font>&nbsp;|</a>
	                </li>
	                <?php } ?>
	            </ul>
			</td>
			<?php }else{ ?>
			<td style='background:#dbfdf9;'></td>
			<?php }?>
		</tr>
		<?php } } } ?>	
	</table>
	
</div>
</body>
</html>
